package string_;

/**
 * @description:
 * @Author yyp
 * @time
 */
public class StringExercise02 {
    public static void main(String[] args) {
        String s1 = new String("yyp");
        String s2 = "yyp";
        System.out.println(s1.intern() == s2);
        System.out.println(s2.intern() == s1);
    }
}
